package com.dys.service.impl;

import com.dys.dao.DepartmentDao;
import com.dys.dao.impl.DepartmentDaoImpl;
import com.dys.entity.Department;
import com.dys.service.DepartmentService;

import java.util.List;

/**
 * @Author: 疾风
 * @ClassName: DepartmentServiceImpl
 * @Description: 部门服务
 * @CreateDate: 2024/10/11
 * @Version: v1.0.0
 */
public class DepartmentServiceImpl implements DepartmentService {
    private final DepartmentDao departmentDao = new DepartmentDaoImpl();

    @Override
    public List<Department> findDropDownToSelectAllDepartment() {
        return departmentDao.selectDropDownToSelectAllDepartment();
    }
}
